package com.fashion.utils;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: juventus
 * Date: 11-6-9
 * Time: 下午10:04
 */
public class ColumnTree {
    private String id;
    private String text;

    private List<ColumnTree> children = new ArrayList<ColumnTree>();

    public void addChild(ColumnTree columnTree) {
        children.add(columnTree);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public List<ColumnTree> getChildren() {
        return children;
    }

    public void setChildren(List<ColumnTree> children) {
        this.children = children;
    }
}
